﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>修改文章-{#read.title}</title>
</head>
<body>
    {#cmd ? base = testedit & callback =true /}
    {#read = article ? id = url.id /}
    <div>
        <input value="{#read.title}" style="width: 200px;" id="title" /><br />
        <textarea id="content" style="height: 200px; width: 400px;">{#read.content}</textarea><br />
        <input type="button" value="提交" onclick="tijiao()" />
    </div>
    {#label=notice}
    <script>
        function tijiao() {
            var params = 'action=edit';
            params += '&title=' + document.getElementById('title').value;
            params += '&content=' + document.getElementById('content').value;
            _tagcall.$(params);
        }
    </script>
</body>
</html>
